package com.jifeng.api.exception;

import com.jifeng.api.constant.HttpStatusEnum;
import lombok.AllArgsConstructor;

/**
 * @author JiFeng
 */
@AllArgsConstructor
public class CustomException extends RuntimeException{

    private HttpStatusEnum resultCode;

    public HttpStatusEnum getHttpStatusEnum() {
        return resultCode;
    }

}
